package com.ssandbox.car;

import org.junit.Assert;
import org.junit.Test;

import com.ssandbox.cars.Car;
import com.ssandbox.cars.Coupe;
import com.ssandbox.cars.MoveDirection;
import com.ssandbox.cars.Sedan;

public class CarTestCase {

	//@Test
	public void test() {
		Car sedan = new Sedan();
		System.out.println(sedan.move());
		System.out.println(sedan.turn(MoveDirection.SOUTH));
		System.out.println(sedan.turn(MoveDirection.EAST));
		System.out.println(sedan.stop());
		Assert.assertTrue(true);
	}
	@Test
	public void testCoupe() {
		Car carType = new Coupe();
		System.out.println(carType.move());
		System.out.println(carType.turn(MoveDirection.WEST));
		System.out.println(carType.turn(MoveDirection.SOUTH));
		System.out.println(carType.stop());
		Assert.assertTrue(true);
	}

}
